package com.boot.project.core.model.system.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @description: 给角色分配权限的实体
 * @author: tsing
 * @create: 2021-01-22 21:21
 */
@Data
public class RoleAssignDto {

    @NotNull(message = "角色id不能为空")
    private Long roleId;

    private List<Long> resourceIds;
}
